package com.zy.pigchat_server.annotation;



import java.lang.annotation.*;

/**
 * @author 这是那头猪？
 * @version 1.0
 * @description:  权限注解
 * @date 2023/7/26 13:11
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface HasRole {
    public String[] role() default "";
}
